package com.canaan.business.domain.bill;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.canaan.common.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;

/**
 * 销售退货单对象 wms_sales_refund_bill
 *
 * @author ruoyi
 * @date 2023-01-31
 */
@ApiModel(description = "wms_sales_refund_bill")
@TableName("wms_sales_refund_bill")
public class SalesRefundBill extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    @ApiModelProperty("编号")
    private String no;

    /** 需求总数量 */
    @Excel(name = "需求总数量")
    @ApiModelProperty("需求总数量")
    private Long totalQty;

    /** 区域 */
    @Excel(name = "区域")
    @ApiModelProperty("区域")
    private String area;

    /** 单据状态 1新建 2进行中 3已完成 */
    @Excel(name = "单据状态 1新建 2进行中 3已完成")
    @ApiModelProperty("单据状态 1新建 2进行中 3已完成")
    private Integer status;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("完成时间")
    private Date completeTime;

    /** 客户编码 */
    @Excel(name = "客户编码")
    @ApiModelProperty("客户编码")
    private String customerNo;

    /** 客户名称 */
    @Excel(name = "客户名称")
    @ApiModelProperty("客户名称")
    private String customerName;

    /** 销售单号 */
    @Excel(name = "销售单号")
    @ApiModelProperty("销售单号")
    private String salesOrderNo;

    /** 是否删除：1是 0否 */
    @ApiModelProperty("销售单号")
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNo(String no)
    {
        this.no = no;
    }

    public String getNo()
    {
        return no;
    }
    public void setTotalQty(Long totalQty)
    {
        this.totalQty = totalQty;
    }

    public Long getTotalQty()
    {
        return totalQty;
    }
    public void setArea(String area)
    {
        this.area = area;
    }

    public String getArea()
    {
        return area;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setCompleteTime(Date completeTime)
    {
        this.completeTime = completeTime;
    }

    public Date getCompleteTime()
    {
        return completeTime;
    }
    public void setCustomerNo(String customerNo)
    {
        this.customerNo = customerNo;
    }

    public String getCustomerNo()
    {
        return customerNo;
    }
    public void setCustomerName(String customerName)
    {
        this.customerName = customerName;
    }

    public String getCustomerName()
    {
        return customerName;
    }
    public void setSalesOrderNo(String salesOrderNo)
    {
        this.salesOrderNo = salesOrderNo;
    }

    public String getSalesOrderNo()
    {
        return salesOrderNo;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("totalQty", getTotalQty())
            .append("area", getArea())
            .append("status", getStatus())
            .append("completeTime", getCompleteTime())
            .append("customerNo", getCustomerNo())
            .append("customerName", getCustomerName())
            .append("salesOrderNo", getSalesOrderNo())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
